package com.geovis.emergency.spd.biz.basic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.geovis.emergency.spd.entity.basic.entity.BasicPunchRule;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 基础模块--打卡规则表 Mapper 接口
 * </p>
 *
 * @author lmolong
 * @since 2022-06-21
 */
public interface BasicPunchRuleMapper extends BaseMapper<BasicPunchRule> {

    /**
     * 根据演练id和演练的用户id查询配置
     * @param pcDrillId 演练id
     * @param userId 用户id
     * @return
     */
    BasicPunchRule getByPcDrillId(@Param("userId") String userId, @Param("pcDrillId") String pcDrillId);
}
